projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bac73b2
)
(redraw_overlapping_rows): Fix detection of
author
YAMAMOTO Mitsuharu
<mituharu@math.s.chiba-u.ac.jp>
Wed, 8 Apr 2009 10:29:51 +0000
(10:29 +0000)
committer
YAMAMOTO Mitsuharu
<mituharu@math.s.chiba-u.ac.jp>
Wed, 8 Apr 2009 10:29:51 +0000
(10:29 +0000)
overlapping for topmost and bottommost rows.
src/dispnew.c
patch
|
blob
|
history
diff --git
a/src/dispnew.c
b/src/dispnew.c
index bbe0f9fc96137b6a81c4d80d145cafce2f70c573..3fbb113dd9fa7ec6229a88f26172c77df7a9343a 100644
(file)
--- a/
src/dispnew.c
+++ b/
src/dispnew.c
@@
-4129,14
+4129,14
@@
redraw_overlapping_rows (w, yb)
bottom_y = MATRIX_ROW_BOTTOM_Y (row);
- if (row->overlapping_p
&& i > 0 && bottom_y < yb
)
+ if (row->overlapping_p)
{
int overlaps = 0;
- if (MATRIX_ROW_OVERLAPS_PRED_P (row)
+ if (MATRIX_ROW_OVERLAPS_PRED_P (row)
&& i > 0
&& !MATRIX_ROW (w->current_matrix, i - 1)->overlapped_p)
overlaps |= OVERLAPS_PRED;
- if (MATRIX_ROW_OVERLAPS_SUCC_P (row)
+ if (MATRIX_ROW_OVERLAPS_SUCC_P (row)
&& bottom_y < yb
&& !MATRIX_ROW (w->current_matrix, i + 1)->overlapped_p)
overlaps |= OVERLAPS_SUCC;